package cn.neusoft.luofa603.yuejian_29.model;

import java.util.List;

import cn.neusoft.luofa603.yuejian_29.bean.Club;
import cn.neusoft.luofa603.yuejian_29.bean.Course;
import cn.neusoft.luofa603.yuejian_29.service.ClubService;
import retrofit2.Call;

/**
 * Created by Administrator on 2017/10/15.
 */

public class ClubModel extends BaseModel {

    ClubService clubService = gsonRetrofit.create(ClubService.class);

   public Call<List<Club>> getClub(){
       return clubService.getClub();
    }

    public Call<List<Club>>getNearClub(){
        return clubService.getNearClub();
    }

    public Call<List<Course>>getCource(){
        return clubService.getCource();
    }

    public Call<List<Club>>clubsearch(String mod,String search_key){
        return clubService.clubsearch(mod,search_key);
    }

}

